import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import componentJs from "@/components/library/index.js"; // 封装的公共组件

/*
normalize.css   处理浏览器样式差异插件
1:安装 npm i normalize.css
2:导入 import "normalize.css"
*/
import "normalize.css";
// 公共样式处理
import "@/assets/styles/common.less";

// vue3中导入全局组件
// const app = createApp(App)
// App.component(组件名,导入的组件) 
/*
app.use({install(app,options){
    app.component(组件名，导入的组件)
}},options)
*/ 

createApp(App).use(store).use(router).use(componentJs).mount("#app");
